package com.oa.co.service;

import com.github.pagehelper.PageInfo;
import com.oa.co.pojo.OrderRoom;

import java.util.List;

/**
 * @Author Lone Ranger
 */
public interface OrderRoomService {
    Integer addOrder(OrderRoom orderRoom);

    PageInfo<OrderRoom> getAllOrders(Integer page, Integer limit, String username, String department);

    Integer modifyOrder(OrderRoom orderRoom);

    Integer deleteOrder(String order_id);

    Integer deleteOrderMulti(List<OrderRoom> list);
}
